package com.nuoniu.sibanyun.service.po;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nuoniu.sibanyun.entity.bo.UnExecutedBo;
import com.nuoniu.sibanyun.entity.po.VPoPurchaseOrderDetail;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 采购订单明细 服务类
 * </p>
 *
 * @author baiqiang
 * @since 2020-11-16
 */
public interface IVPoPurchaseOrderDetailService extends IService<VPoPurchaseOrderDetail> {

    /**
     * 根据订单id删除明细
     * @author 小啊刚
     * @date 2020-11-19
     */
    void removeByOrderId(Long orderId);

    /**
     * 根据单据主表ID 获取单据明细
     * @param orderId
     * @return
     */
    List<VPoPurchaseOrderDetail> getOrderDetails(Long orderId);



}
